package way.scripts.classDoc.segment;

import org.apache.commons.lang3.tuple.Triple;

import java.util.List;

/**
 * @author Haozhiqiang  {2021/12/7 14:00}
 */
public class InterfaceList extends AbstractNode {

    private static final String name = "接口列表";
    private static final String[] columns = {"接口名称","定义","描述"};

    private String interfaceName;
    private List<Triple<String, String, String>> contents;

    public static String getName() {
        return name;
    }

    public static String[] getColumns() {
        return columns;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public List<Triple<String, String, String>> getContents() {
        return contents;
    }

    public void setContents(List<Triple<String, String, String>> contents) {
        this.contents = contents;
    }

    @Override
    public int getLevel() {
        return 2;
    }
}
